﻿#region Copyright

//  ======================================================
//      Copyright (c) 2011 Toulr All rights reserved.
//     
//      The use and distribution terms for this software are contained in the file
//      named license.txt, which can be found in the root of this distribution.
//      By using this software in any fashion, you are agreeing to be bound by the
//      terms of this license.
//     
//     You must not remove this notice, or any other, from this software.
//  ======================================================

#endregion

#region Using Namespaces

using System;
using System.ComponentModel.DataAnnotations;

#endregion

namespace Toulr.Domains.System
{
    /// <summary>
    ///   银行、支付信息
    /// </summary>
    public class Banks
    {
        [Key]
        [DatabaseGenerated(DatabaseGeneratedOption.None)]
        public int Id { get; set; }

        /// <summary>
        ///   银行名称
        /// </summary>
        [Required]
        public String BankName { get; set; }

        /// <summary>
        ///   对应支付网关描述
        /// </summary>
        [Required]
        public String PaymentGateway { get; set; }

        /// <summary>
        ///   当前是否可用
        /// </summary>
        public bool Enabled { get; set; }
    }
}